<script lang="ts" setup>
import { RadioProps } from "./inputtype"
defineProps<RadioProps>()
const value = defineModel();
</script>

<template>
    <el-form-item :label="label" :prop="prop">
        <el-radio-group v-model="value" :name="prop">
            <el-radio border v-for="item in radio" :label="item.label">{{ item.text }}</el-radio>
        </el-radio-group>
    </el-form-item>
</template>

<style>

</style>